package aa.jx.cartFunction.model;

import java.math.BigDecimal;
import java.util.Date;
//创建购物车项




public class CartItemDTO {
    private Integer cartId;
    private Integer userId;
    private Integer productId;
    private Integer quantity;
    private Date created;
    private String productName;
    private BigDecimal price;
    private String mainImage;

    // Getters and Setters
    public Integer getCartId()
    { return cartId; }

    public void setCartId(Integer cartId) { this.cartId = cartId; }

    public Integer getUserId() { return userId; }
    public void setUserId(Integer userId) { this.userId = userId; }

    public Integer getProductId() { return productId; }
    public void setProductId(Integer productId) { this.productId = productId; }

    public Integer getQuantity() { return quantity; }
    public void setQuantity(Integer quantity) { this.quantity = quantity; }

    public Date getCreated() { return created; }
    public void setCreated(Date created) { this.created = created; }

    public String getProductName() { return productName; }
    public void setProductName(String productName) { this.productName = productName; }

    public BigDecimal getPrice() { return price; }
    public void setPrice(BigDecimal price) { this.price = price; }

    public String getMainImage() { return mainImage; }
    public void setMainImage(String mainImage) { this.mainImage = mainImage; }
}
